set Image
Set an image variable. Creates the variable if no variable has this key. Every block property bound to the variable takes the new URI. If a bound property rejects the value, the call throws its error, but the variable and the other bound properties change anyway. Experimental: this API may change in a minor release.
Parameters
key
the variable's key.
uri
the URI of the image.